//
//  NSDictionary+Xe.m
//  JSON的解析
//
//  Created by ma on 15/10/20.
//  Copyright © 2015年 ma. All rights reserved.
//

#import "NSDictionary+Xe.h"

@implementation NSDictionary (Xe)
-(NSString*)descriptionWithLocale:(nullable id)locale{
    NSMutableString*mStr=[NSMutableString string];
    [mStr appendString:@"{\n"];
    [ self enumerateKeysAndObjectsUsingBlock:^(id  __nonnull key, id  __nonnull obj, BOOL * __nonnull stop) {
        
        
        [mStr appendFormat:@"\t%@=%@;\n",key,obj];
    }];
    
    [mStr appendString:@"}\n"];
    return mStr.copy;
    
}
@end
